package main

import (
	rpcClient "gitee.com/jack_zang/public-scripts/go/taskrpc/node/client"
	pb "gitee.com/jack_zang/public-scripts/go/taskrpc/node/pb"
)

func main() {
	taskRequest := new(pb.TaskRequest)
	taskRequest.Id = 1234
	taskRequest.Command = "ls -al"
	rpcClient.Stop("127.0.0.1", 8080, 1234)
	//output, err := rpcClient.Exec("127.0.0.1", 5921, taskRequest)
	//fmt.Println("----output:", output, "err:", err)
}
